package com.example.service;

import com.example.entity.Teacher;
import com.example.entity.example.TeacherExample;

import java.util.List;

public interface TeacherService {
    void add(Teacher teacher);

    Teacher getById(String id);

    void updateById(Teacher teacher);

    void updateSelectiveById(Teacher teacher);

    void removeById(String id);

    List<Teacher> getByExampleWithLimit(TeacherExample example, Integer page, Integer limit);

    long getCountByExample(TeacherExample example);
}
